package com.zimmur.app.mocolink.domain.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderExpressExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderExpressExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andAddresseeIsNull() {
            addCriterion("addressee is null");
            return (Criteria) this;
        }

        public Criteria andAddresseeIsNotNull() {
            addCriterion("addressee is not null");
            return (Criteria) this;
        }

        public Criteria andAddresseeEqualTo(String value) {
            addCriterion("addressee =", value, "addressee");
            return (Criteria) this;
        }

        public Criteria andAddresseeNotEqualTo(String value) {
            addCriterion("addressee <>", value, "addressee");
            return (Criteria) this;
        }

        public Criteria andAddresseeGreaterThan(String value) {
            addCriterion("addressee >", value, "addressee");
            return (Criteria) this;
        }

        public Criteria andAddresseeGreaterThanOrEqualTo(String value) {
            addCriterion("addressee >=", value, "addressee");
            return (Criteria) this;
        }

        public Criteria andAddresseeLessThan(String value) {
            addCriterion("addressee <", value, "addressee");
            return (Criteria) this;
        }

        public Criteria andAddresseeLessThanOrEqualTo(String value) {
            addCriterion("addressee <=", value, "addressee");
            return (Criteria) this;
        }

        public Criteria andAddresseeLike(String value) {
            addCriterion("addressee like", value, "addressee");
            return (Criteria) this;
        }

        public Criteria andAddresseeNotLike(String value) {
            addCriterion("addressee not like", value, "addressee");
            return (Criteria) this;
        }

        public Criteria andAddresseeIn(List<String> values) {
            addCriterion("addressee in", values, "addressee");
            return (Criteria) this;
        }

        public Criteria andAddresseeNotIn(List<String> values) {
            addCriterion("addressee not in", values, "addressee");
            return (Criteria) this;
        }

        public Criteria andAddresseeBetween(String value1, String value2) {
            addCriterion("addressee between", value1, value2, "addressee");
            return (Criteria) this;
        }

        public Criteria andAddresseeNotBetween(String value1, String value2) {
            addCriterion("addressee not between", value1, value2, "addressee");
            return (Criteria) this;
        }

        public Criteria andShipProvinceIsNull() {
            addCriterion("ship_province is null");
            return (Criteria) this;
        }

        public Criteria andShipProvinceIsNotNull() {
            addCriterion("ship_province is not null");
            return (Criteria) this;
        }

        public Criteria andShipProvinceEqualTo(String value) {
            addCriterion("ship_province =", value, "shipProvince");
            return (Criteria) this;
        }

        public Criteria andShipProvinceNotEqualTo(String value) {
            addCriterion("ship_province <>", value, "shipProvince");
            return (Criteria) this;
        }

        public Criteria andShipProvinceGreaterThan(String value) {
            addCriterion("ship_province >", value, "shipProvince");
            return (Criteria) this;
        }

        public Criteria andShipProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("ship_province >=", value, "shipProvince");
            return (Criteria) this;
        }

        public Criteria andShipProvinceLessThan(String value) {
            addCriterion("ship_province <", value, "shipProvince");
            return (Criteria) this;
        }

        public Criteria andShipProvinceLessThanOrEqualTo(String value) {
            addCriterion("ship_province <=", value, "shipProvince");
            return (Criteria) this;
        }

        public Criteria andShipProvinceLike(String value) {
            addCriterion("ship_province like", value, "shipProvince");
            return (Criteria) this;
        }

        public Criteria andShipProvinceNotLike(String value) {
            addCriterion("ship_province not like", value, "shipProvince");
            return (Criteria) this;
        }

        public Criteria andShipProvinceIn(List<String> values) {
            addCriterion("ship_province in", values, "shipProvince");
            return (Criteria) this;
        }

        public Criteria andShipProvinceNotIn(List<String> values) {
            addCriterion("ship_province not in", values, "shipProvince");
            return (Criteria) this;
        }

        public Criteria andShipProvinceBetween(String value1, String value2) {
            addCriterion("ship_province between", value1, value2, "shipProvince");
            return (Criteria) this;
        }

        public Criteria andShipProvinceNotBetween(String value1, String value2) {
            addCriterion("ship_province not between", value1, value2, "shipProvince");
            return (Criteria) this;
        }

        public Criteria andShipCityIsNull() {
            addCriterion("ship_city is null");
            return (Criteria) this;
        }

        public Criteria andShipCityIsNotNull() {
            addCriterion("ship_city is not null");
            return (Criteria) this;
        }

        public Criteria andShipCityEqualTo(String value) {
            addCriterion("ship_city =", value, "shipCity");
            return (Criteria) this;
        }

        public Criteria andShipCityNotEqualTo(String value) {
            addCriterion("ship_city <>", value, "shipCity");
            return (Criteria) this;
        }

        public Criteria andShipCityGreaterThan(String value) {
            addCriterion("ship_city >", value, "shipCity");
            return (Criteria) this;
        }

        public Criteria andShipCityGreaterThanOrEqualTo(String value) {
            addCriterion("ship_city >=", value, "shipCity");
            return (Criteria) this;
        }

        public Criteria andShipCityLessThan(String value) {
            addCriterion("ship_city <", value, "shipCity");
            return (Criteria) this;
        }

        public Criteria andShipCityLessThanOrEqualTo(String value) {
            addCriterion("ship_city <=", value, "shipCity");
            return (Criteria) this;
        }

        public Criteria andShipCityLike(String value) {
            addCriterion("ship_city like", value, "shipCity");
            return (Criteria) this;
        }

        public Criteria andShipCityNotLike(String value) {
            addCriterion("ship_city not like", value, "shipCity");
            return (Criteria) this;
        }

        public Criteria andShipCityIn(List<String> values) {
            addCriterion("ship_city in", values, "shipCity");
            return (Criteria) this;
        }

        public Criteria andShipCityNotIn(List<String> values) {
            addCriterion("ship_city not in", values, "shipCity");
            return (Criteria) this;
        }

        public Criteria andShipCityBetween(String value1, String value2) {
            addCriterion("ship_city between", value1, value2, "shipCity");
            return (Criteria) this;
        }

        public Criteria andShipCityNotBetween(String value1, String value2) {
            addCriterion("ship_city not between", value1, value2, "shipCity");
            return (Criteria) this;
        }

        public Criteria andShipAreaIsNull() {
            addCriterion("ship_area is null");
            return (Criteria) this;
        }

        public Criteria andShipAreaIsNotNull() {
            addCriterion("ship_area is not null");
            return (Criteria) this;
        }

        public Criteria andShipAreaEqualTo(String value) {
            addCriterion("ship_area =", value, "shipArea");
            return (Criteria) this;
        }

        public Criteria andShipAreaNotEqualTo(String value) {
            addCriterion("ship_area <>", value, "shipArea");
            return (Criteria) this;
        }

        public Criteria andShipAreaGreaterThan(String value) {
            addCriterion("ship_area >", value, "shipArea");
            return (Criteria) this;
        }

        public Criteria andShipAreaGreaterThanOrEqualTo(String value) {
            addCriterion("ship_area >=", value, "shipArea");
            return (Criteria) this;
        }

        public Criteria andShipAreaLessThan(String value) {
            addCriterion("ship_area <", value, "shipArea");
            return (Criteria) this;
        }

        public Criteria andShipAreaLessThanOrEqualTo(String value) {
            addCriterion("ship_area <=", value, "shipArea");
            return (Criteria) this;
        }

        public Criteria andShipAreaLike(String value) {
            addCriterion("ship_area like", value, "shipArea");
            return (Criteria) this;
        }

        public Criteria andShipAreaNotLike(String value) {
            addCriterion("ship_area not like", value, "shipArea");
            return (Criteria) this;
        }

        public Criteria andShipAreaIn(List<String> values) {
            addCriterion("ship_area in", values, "shipArea");
            return (Criteria) this;
        }

        public Criteria andShipAreaNotIn(List<String> values) {
            addCriterion("ship_area not in", values, "shipArea");
            return (Criteria) this;
        }

        public Criteria andShipAreaBetween(String value1, String value2) {
            addCriterion("ship_area between", value1, value2, "shipArea");
            return (Criteria) this;
        }

        public Criteria andShipAreaNotBetween(String value1, String value2) {
            addCriterion("ship_area not between", value1, value2, "shipArea");
            return (Criteria) this;
        }

        public Criteria andShipStreetIsNull() {
            addCriterion("ship_street is null");
            return (Criteria) this;
        }

        public Criteria andShipStreetIsNotNull() {
            addCriterion("ship_street is not null");
            return (Criteria) this;
        }

        public Criteria andShipStreetEqualTo(String value) {
            addCriterion("ship_street =", value, "shipStreet");
            return (Criteria) this;
        }

        public Criteria andShipStreetNotEqualTo(String value) {
            addCriterion("ship_street <>", value, "shipStreet");
            return (Criteria) this;
        }

        public Criteria andShipStreetGreaterThan(String value) {
            addCriterion("ship_street >", value, "shipStreet");
            return (Criteria) this;
        }

        public Criteria andShipStreetGreaterThanOrEqualTo(String value) {
            addCriterion("ship_street >=", value, "shipStreet");
            return (Criteria) this;
        }

        public Criteria andShipStreetLessThan(String value) {
            addCriterion("ship_street <", value, "shipStreet");
            return (Criteria) this;
        }

        public Criteria andShipStreetLessThanOrEqualTo(String value) {
            addCriterion("ship_street <=", value, "shipStreet");
            return (Criteria) this;
        }

        public Criteria andShipStreetLike(String value) {
            addCriterion("ship_street like", value, "shipStreet");
            return (Criteria) this;
        }

        public Criteria andShipStreetNotLike(String value) {
            addCriterion("ship_street not like", value, "shipStreet");
            return (Criteria) this;
        }

        public Criteria andShipStreetIn(List<String> values) {
            addCriterion("ship_street in", values, "shipStreet");
            return (Criteria) this;
        }

        public Criteria andShipStreetNotIn(List<String> values) {
            addCriterion("ship_street not in", values, "shipStreet");
            return (Criteria) this;
        }

        public Criteria andShipStreetBetween(String value1, String value2) {
            addCriterion("ship_street between", value1, value2, "shipStreet");
            return (Criteria) this;
        }

        public Criteria andShipStreetNotBetween(String value1, String value2) {
            addCriterion("ship_street not between", value1, value2, "shipStreet");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeIsNull() {
            addCriterion("ship_postcode is null");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeIsNotNull() {
            addCriterion("ship_postcode is not null");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeEqualTo(String value) {
            addCriterion("ship_postcode =", value, "shipPostcode");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeNotEqualTo(String value) {
            addCriterion("ship_postcode <>", value, "shipPostcode");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeGreaterThan(String value) {
            addCriterion("ship_postcode >", value, "shipPostcode");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeGreaterThanOrEqualTo(String value) {
            addCriterion("ship_postcode >=", value, "shipPostcode");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeLessThan(String value) {
            addCriterion("ship_postcode <", value, "shipPostcode");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeLessThanOrEqualTo(String value) {
            addCriterion("ship_postcode <=", value, "shipPostcode");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeLike(String value) {
            addCriterion("ship_postcode like", value, "shipPostcode");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeNotLike(String value) {
            addCriterion("ship_postcode not like", value, "shipPostcode");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeIn(List<String> values) {
            addCriterion("ship_postcode in", values, "shipPostcode");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeNotIn(List<String> values) {
            addCriterion("ship_postcode not in", values, "shipPostcode");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeBetween(String value1, String value2) {
            addCriterion("ship_postcode between", value1, value2, "shipPostcode");
            return (Criteria) this;
        }

        public Criteria andShipPostcodeNotBetween(String value1, String value2) {
            addCriterion("ship_postcode not between", value1, value2, "shipPostcode");
            return (Criteria) this;
        }

        public Criteria andShipMobileIsNull() {
            addCriterion("ship_mobile is null");
            return (Criteria) this;
        }

        public Criteria andShipMobileIsNotNull() {
            addCriterion("ship_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andShipMobileEqualTo(String value) {
            addCriterion("ship_mobile =", value, "shipMobile");
            return (Criteria) this;
        }

        public Criteria andShipMobileNotEqualTo(String value) {
            addCriterion("ship_mobile <>", value, "shipMobile");
            return (Criteria) this;
        }

        public Criteria andShipMobileGreaterThan(String value) {
            addCriterion("ship_mobile >", value, "shipMobile");
            return (Criteria) this;
        }

        public Criteria andShipMobileGreaterThanOrEqualTo(String value) {
            addCriterion("ship_mobile >=", value, "shipMobile");
            return (Criteria) this;
        }

        public Criteria andShipMobileLessThan(String value) {
            addCriterion("ship_mobile <", value, "shipMobile");
            return (Criteria) this;
        }

        public Criteria andShipMobileLessThanOrEqualTo(String value) {
            addCriterion("ship_mobile <=", value, "shipMobile");
            return (Criteria) this;
        }

        public Criteria andShipMobileLike(String value) {
            addCriterion("ship_mobile like", value, "shipMobile");
            return (Criteria) this;
        }

        public Criteria andShipMobileNotLike(String value) {
            addCriterion("ship_mobile not like", value, "shipMobile");
            return (Criteria) this;
        }

        public Criteria andShipMobileIn(List<String> values) {
            addCriterion("ship_mobile in", values, "shipMobile");
            return (Criteria) this;
        }

        public Criteria andShipMobileNotIn(List<String> values) {
            addCriterion("ship_mobile not in", values, "shipMobile");
            return (Criteria) this;
        }

        public Criteria andShipMobileBetween(String value1, String value2) {
            addCriterion("ship_mobile between", value1, value2, "shipMobile");
            return (Criteria) this;
        }

        public Criteria andShipMobileNotBetween(String value1, String value2) {
            addCriterion("ship_mobile not between", value1, value2, "shipMobile");
            return (Criteria) this;
        }

        public Criteria andShipMethodIsNull() {
            addCriterion("ship_method is null");
            return (Criteria) this;
        }

        public Criteria andShipMethodIsNotNull() {
            addCriterion("ship_method is not null");
            return (Criteria) this;
        }

        public Criteria andShipMethodEqualTo(Byte value) {
            addCriterion("ship_method =", value, "shipMethod");
            return (Criteria) this;
        }

        public Criteria andShipMethodNotEqualTo(Byte value) {
            addCriterion("ship_method <>", value, "shipMethod");
            return (Criteria) this;
        }

        public Criteria andShipMethodGreaterThan(Byte value) {
            addCriterion("ship_method >", value, "shipMethod");
            return (Criteria) this;
        }

        public Criteria andShipMethodGreaterThanOrEqualTo(Byte value) {
            addCriterion("ship_method >=", value, "shipMethod");
            return (Criteria) this;
        }

        public Criteria andShipMethodLessThan(Byte value) {
            addCriterion("ship_method <", value, "shipMethod");
            return (Criteria) this;
        }

        public Criteria andShipMethodLessThanOrEqualTo(Byte value) {
            addCriterion("ship_method <=", value, "shipMethod");
            return (Criteria) this;
        }

        public Criteria andShipMethodIn(List<Byte> values) {
            addCriterion("ship_method in", values, "shipMethod");
            return (Criteria) this;
        }

        public Criteria andShipMethodNotIn(List<Byte> values) {
            addCriterion("ship_method not in", values, "shipMethod");
            return (Criteria) this;
        }

        public Criteria andShipMethodBetween(Byte value1, Byte value2) {
            addCriterion("ship_method between", value1, value2, "shipMethod");
            return (Criteria) this;
        }

        public Criteria andShipMethodNotBetween(Byte value1, Byte value2) {
            addCriterion("ship_method not between", value1, value2, "shipMethod");
            return (Criteria) this;
        }

        public Criteria andShipCompanyIsNull() {
            addCriterion("ship_company is null");
            return (Criteria) this;
        }

        public Criteria andShipCompanyIsNotNull() {
            addCriterion("ship_company is not null");
            return (Criteria) this;
        }

        public Criteria andShipCompanyEqualTo(String value) {
            addCriterion("ship_company =", value, "shipCompany");
            return (Criteria) this;
        }

        public Criteria andShipCompanyNotEqualTo(String value) {
            addCriterion("ship_company <>", value, "shipCompany");
            return (Criteria) this;
        }

        public Criteria andShipCompanyGreaterThan(String value) {
            addCriterion("ship_company >", value, "shipCompany");
            return (Criteria) this;
        }

        public Criteria andShipCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("ship_company >=", value, "shipCompany");
            return (Criteria) this;
        }

        public Criteria andShipCompanyLessThan(String value) {
            addCriterion("ship_company <", value, "shipCompany");
            return (Criteria) this;
        }

        public Criteria andShipCompanyLessThanOrEqualTo(String value) {
            addCriterion("ship_company <=", value, "shipCompany");
            return (Criteria) this;
        }

        public Criteria andShipCompanyLike(String value) {
            addCriterion("ship_company like", value, "shipCompany");
            return (Criteria) this;
        }

        public Criteria andShipCompanyNotLike(String value) {
            addCriterion("ship_company not like", value, "shipCompany");
            return (Criteria) this;
        }

        public Criteria andShipCompanyIn(List<String> values) {
            addCriterion("ship_company in", values, "shipCompany");
            return (Criteria) this;
        }

        public Criteria andShipCompanyNotIn(List<String> values) {
            addCriterion("ship_company not in", values, "shipCompany");
            return (Criteria) this;
        }

        public Criteria andShipCompanyBetween(String value1, String value2) {
            addCriterion("ship_company between", value1, value2, "shipCompany");
            return (Criteria) this;
        }

        public Criteria andShipCompanyNotBetween(String value1, String value2) {
            addCriterion("ship_company not between", value1, value2, "shipCompany");
            return (Criteria) this;
        }

        public Criteria andShipCodeIsNull() {
            addCriterion("ship_code is null");
            return (Criteria) this;
        }

        public Criteria andShipCodeIsNotNull() {
            addCriterion("ship_code is not null");
            return (Criteria) this;
        }

        public Criteria andShipCodeEqualTo(String value) {
            addCriterion("ship_code =", value, "shipCode");
            return (Criteria) this;
        }

        public Criteria andShipCodeNotEqualTo(String value) {
            addCriterion("ship_code <>", value, "shipCode");
            return (Criteria) this;
        }

        public Criteria andShipCodeGreaterThan(String value) {
            addCriterion("ship_code >", value, "shipCode");
            return (Criteria) this;
        }

        public Criteria andShipCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ship_code >=", value, "shipCode");
            return (Criteria) this;
        }

        public Criteria andShipCodeLessThan(String value) {
            addCriterion("ship_code <", value, "shipCode");
            return (Criteria) this;
        }

        public Criteria andShipCodeLessThanOrEqualTo(String value) {
            addCriterion("ship_code <=", value, "shipCode");
            return (Criteria) this;
        }

        public Criteria andShipCodeLike(String value) {
            addCriterion("ship_code like", value, "shipCode");
            return (Criteria) this;
        }

        public Criteria andShipCodeNotLike(String value) {
            addCriterion("ship_code not like", value, "shipCode");
            return (Criteria) this;
        }

        public Criteria andShipCodeIn(List<String> values) {
            addCriterion("ship_code in", values, "shipCode");
            return (Criteria) this;
        }

        public Criteria andShipCodeNotIn(List<String> values) {
            addCriterion("ship_code not in", values, "shipCode");
            return (Criteria) this;
        }

        public Criteria andShipCodeBetween(String value1, String value2) {
            addCriterion("ship_code between", value1, value2, "shipCode");
            return (Criteria) this;
        }

        public Criteria andShipCodeNotBetween(String value1, String value2) {
            addCriterion("ship_code not between", value1, value2, "shipCode");
            return (Criteria) this;
        }

        public Criteria andShipNoIsNull() {
            addCriterion("ship_no is null");
            return (Criteria) this;
        }

        public Criteria andShipNoIsNotNull() {
            addCriterion("ship_no is not null");
            return (Criteria) this;
        }

        public Criteria andShipNoEqualTo(String value) {
            addCriterion("ship_no =", value, "shipNo");
            return (Criteria) this;
        }

        public Criteria andShipNoNotEqualTo(String value) {
            addCriterion("ship_no <>", value, "shipNo");
            return (Criteria) this;
        }

        public Criteria andShipNoGreaterThan(String value) {
            addCriterion("ship_no >", value, "shipNo");
            return (Criteria) this;
        }

        public Criteria andShipNoGreaterThanOrEqualTo(String value) {
            addCriterion("ship_no >=", value, "shipNo");
            return (Criteria) this;
        }

        public Criteria andShipNoLessThan(String value) {
            addCriterion("ship_no <", value, "shipNo");
            return (Criteria) this;
        }

        public Criteria andShipNoLessThanOrEqualTo(String value) {
            addCriterion("ship_no <=", value, "shipNo");
            return (Criteria) this;
        }

        public Criteria andShipNoLike(String value) {
            addCriterion("ship_no like", value, "shipNo");
            return (Criteria) this;
        }

        public Criteria andShipNoNotLike(String value) {
            addCriterion("ship_no not like", value, "shipNo");
            return (Criteria) this;
        }

        public Criteria andShipNoIn(List<String> values) {
            addCriterion("ship_no in", values, "shipNo");
            return (Criteria) this;
        }

        public Criteria andShipNoNotIn(List<String> values) {
            addCriterion("ship_no not in", values, "shipNo");
            return (Criteria) this;
        }

        public Criteria andShipNoBetween(String value1, String value2) {
            addCriterion("ship_no between", value1, value2, "shipNo");
            return (Criteria) this;
        }

        public Criteria andShipNoNotBetween(String value1, String value2) {
            addCriterion("ship_no not between", value1, value2, "shipNo");
            return (Criteria) this;
        }

        public Criteria andShipDateIsNull() {
            addCriterion("ship_date is null");
            return (Criteria) this;
        }

        public Criteria andShipDateIsNotNull() {
            addCriterion("ship_date is not null");
            return (Criteria) this;
        }

        public Criteria andShipDateEqualTo(Date value) {
            addCriterion("ship_date =", value, "shipDate");
            return (Criteria) this;
        }

        public Criteria andShipDateNotEqualTo(Date value) {
            addCriterion("ship_date <>", value, "shipDate");
            return (Criteria) this;
        }

        public Criteria andShipDateGreaterThan(Date value) {
            addCriterion("ship_date >", value, "shipDate");
            return (Criteria) this;
        }

        public Criteria andShipDateGreaterThanOrEqualTo(Date value) {
            addCriterion("ship_date >=", value, "shipDate");
            return (Criteria) this;
        }

        public Criteria andShipDateLessThan(Date value) {
            addCriterion("ship_date <", value, "shipDate");
            return (Criteria) this;
        }

        public Criteria andShipDateLessThanOrEqualTo(Date value) {
            addCriterion("ship_date <=", value, "shipDate");
            return (Criteria) this;
        }

        public Criteria andShipDateIn(List<Date> values) {
            addCriterion("ship_date in", values, "shipDate");
            return (Criteria) this;
        }

        public Criteria andShipDateNotIn(List<Date> values) {
            addCriterion("ship_date not in", values, "shipDate");
            return (Criteria) this;
        }

        public Criteria andShipDateBetween(Date value1, Date value2) {
            addCriterion("ship_date between", value1, value2, "shipDate");
            return (Criteria) this;
        }

        public Criteria andShipDateNotBetween(Date value1, Date value2) {
            addCriterion("ship_date not between", value1, value2, "shipDate");
            return (Criteria) this;
        }

        public Criteria andIsSignShipIsNull() {
            addCriterion("is_sign_ship is null");
            return (Criteria) this;
        }

        public Criteria andIsSignShipIsNotNull() {
            addCriterion("is_sign_ship is not null");
            return (Criteria) this;
        }

        public Criteria andIsSignShipEqualTo(Byte value) {
            addCriterion("is_sign_ship =", value, "isSignShip");
            return (Criteria) this;
        }

        public Criteria andIsSignShipNotEqualTo(Byte value) {
            addCriterion("is_sign_ship <>", value, "isSignShip");
            return (Criteria) this;
        }

        public Criteria andIsSignShipGreaterThan(Byte value) {
            addCriterion("is_sign_ship >", value, "isSignShip");
            return (Criteria) this;
        }

        public Criteria andIsSignShipGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_sign_ship >=", value, "isSignShip");
            return (Criteria) this;
        }

        public Criteria andIsSignShipLessThan(Byte value) {
            addCriterion("is_sign_ship <", value, "isSignShip");
            return (Criteria) this;
        }

        public Criteria andIsSignShipLessThanOrEqualTo(Byte value) {
            addCriterion("is_sign_ship <=", value, "isSignShip");
            return (Criteria) this;
        }

        public Criteria andIsSignShipIn(List<Byte> values) {
            addCriterion("is_sign_ship in", values, "isSignShip");
            return (Criteria) this;
        }

        public Criteria andIsSignShipNotIn(List<Byte> values) {
            addCriterion("is_sign_ship not in", values, "isSignShip");
            return (Criteria) this;
        }

        public Criteria andIsSignShipBetween(Byte value1, Byte value2) {
            addCriterion("is_sign_ship between", value1, value2, "isSignShip");
            return (Criteria) this;
        }

        public Criteria andIsSignShipNotBetween(Byte value1, Byte value2) {
            addCriterion("is_sign_ship not between", value1, value2, "isSignShip");
            return (Criteria) this;
        }

        public Criteria andSignDateIsNull() {
            addCriterion("sign_date is null");
            return (Criteria) this;
        }

        public Criteria andSignDateIsNotNull() {
            addCriterion("sign_date is not null");
            return (Criteria) this;
        }

        public Criteria andSignDateEqualTo(Date value) {
            addCriterion("sign_date =", value, "signDate");
            return (Criteria) this;
        }

        public Criteria andSignDateNotEqualTo(Date value) {
            addCriterion("sign_date <>", value, "signDate");
            return (Criteria) this;
        }

        public Criteria andSignDateGreaterThan(Date value) {
            addCriterion("sign_date >", value, "signDate");
            return (Criteria) this;
        }

        public Criteria andSignDateGreaterThanOrEqualTo(Date value) {
            addCriterion("sign_date >=", value, "signDate");
            return (Criteria) this;
        }

        public Criteria andSignDateLessThan(Date value) {
            addCriterion("sign_date <", value, "signDate");
            return (Criteria) this;
        }

        public Criteria andSignDateLessThanOrEqualTo(Date value) {
            addCriterion("sign_date <=", value, "signDate");
            return (Criteria) this;
        }

        public Criteria andSignDateIn(List<Date> values) {
            addCriterion("sign_date in", values, "signDate");
            return (Criteria) this;
        }

        public Criteria andSignDateNotIn(List<Date> values) {
            addCriterion("sign_date not in", values, "signDate");
            return (Criteria) this;
        }

        public Criteria andSignDateBetween(Date value1, Date value2) {
            addCriterion("sign_date between", value1, value2, "signDate");
            return (Criteria) this;
        }

        public Criteria andSignDateNotBetween(Date value1, Date value2) {
            addCriterion("sign_date not between", value1, value2, "signDate");
            return (Criteria) this;
        }

        public Criteria andIsInvoiceIsNull() {
            addCriterion("is_invoice is null");
            return (Criteria) this;
        }

        public Criteria andIsInvoiceIsNotNull() {
            addCriterion("is_invoice is not null");
            return (Criteria) this;
        }

        public Criteria andIsInvoiceEqualTo(Byte value) {
            addCriterion("is_invoice =", value, "isInvoice");
            return (Criteria) this;
        }

        public Criteria andIsInvoiceNotEqualTo(Byte value) {
            addCriterion("is_invoice <>", value, "isInvoice");
            return (Criteria) this;
        }

        public Criteria andIsInvoiceGreaterThan(Byte value) {
            addCriterion("is_invoice >", value, "isInvoice");
            return (Criteria) this;
        }

        public Criteria andIsInvoiceGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_invoice >=", value, "isInvoice");
            return (Criteria) this;
        }

        public Criteria andIsInvoiceLessThan(Byte value) {
            addCriterion("is_invoice <", value, "isInvoice");
            return (Criteria) this;
        }

        public Criteria andIsInvoiceLessThanOrEqualTo(Byte value) {
            addCriterion("is_invoice <=", value, "isInvoice");
            return (Criteria) this;
        }

        public Criteria andIsInvoiceIn(List<Byte> values) {
            addCriterion("is_invoice in", values, "isInvoice");
            return (Criteria) this;
        }

        public Criteria andIsInvoiceNotIn(List<Byte> values) {
            addCriterion("is_invoice not in", values, "isInvoice");
            return (Criteria) this;
        }

        public Criteria andIsInvoiceBetween(Byte value1, Byte value2) {
            addCriterion("is_invoice between", value1, value2, "isInvoice");
            return (Criteria) this;
        }

        public Criteria andIsInvoiceNotBetween(Byte value1, Byte value2) {
            addCriterion("is_invoice not between", value1, value2, "isInvoice");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameIsNull() {
            addCriterion("invoice_name is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameIsNotNull() {
            addCriterion("invoice_name is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameEqualTo(String value) {
            addCriterion("invoice_name =", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameNotEqualTo(String value) {
            addCriterion("invoice_name <>", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameGreaterThan(String value) {
            addCriterion("invoice_name >", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_name >=", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameLessThan(String value) {
            addCriterion("invoice_name <", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameLessThanOrEqualTo(String value) {
            addCriterion("invoice_name <=", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameLike(String value) {
            addCriterion("invoice_name like", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameNotLike(String value) {
            addCriterion("invoice_name not like", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameIn(List<String> values) {
            addCriterion("invoice_name in", values, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameNotIn(List<String> values) {
            addCriterion("invoice_name not in", values, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameBetween(String value1, String value2) {
            addCriterion("invoice_name between", value1, value2, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameNotBetween(String value1, String value2) {
            addCriterion("invoice_name not between", value1, value2, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}